package com.wfx.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@RequiredArgsConstructor
@ApiModel
public class PageDTO<T> {
    //当前页
    @NonNull
    @ApiModelProperty("当前页")
    private Integer page;
    //每页显示多少条
    @NonNull
    @ApiModelProperty("每页显示多少条")
    private Integer limit;
    //搜索条件
    @ApiModelProperty("搜索条件")
    private T data;
}
